package com.google.project.client.Service;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.project.shared.UsersDTO;

public interface LoginServiceAsync {

	void checkLogin(AsyncCallback<Boolean> callback);

	void login(String name, String password, AsyncCallback<String> callback);

	void logout(AsyncCallback<Void> callback);

	void getUserID(AsyncCallback<String> callback);


	void getCurrentProjectID(AsyncCallback<String> callback);

	void getUserName(AsyncCallback<String> callback);

	void getCurrentUserDTO(AsyncCallback<UsersDTO> callback);
	 
}
